//
//  LATitledPolyline.m
//  OutdoorAssistantApplication
//
//  Created by 罗亮富 on 2018/6/26.
//  Copyright © 2018年 Lolaage. All rights reserved.
//

#import "LATextPolyline.h"


@implementation LATextPolyline

-(instancetype)init
{
    self = [super init];
    if(self)
    {
        self.rendererClass = [LATexttPolylineRenderer class];
        self.lineStrokeWidth = 2.0;
    }
    return self;
}

-(void)setupRenderer:(LATexttPolylineRenderer *)renderer
{
    [super setupRenderer:renderer];
    renderer.text = self.text;
    renderer.textColor = self.textColor;
    renderer.textBackgroundColor = self.textBackgroundColor;
    renderer.font = self.font;
}

@end


